﻿using System;
using System.Collections.Generic;

[Serializable]
public class CardTrick : SkillBase
{
    public const string key = "CardTrick_";
    //方便访问
    public PropertyValue<PropertyBase> need = new PropertyValue<PropertyBase>(new Need(),key + "need");
    public PropertyValue<PropertyBase> distance = new PropertyValue<PropertyBase>(new Distance(),key + "distance");
    public PropertyValue<PropertyBase> target = new PropertyValue<PropertyBase>(new Target(),key + "target");
    public PropertyValue<PropertyBase> cause = new PropertyValue<PropertyBase>(new Cause(),key + "cause");
    public PropertyValue<PropertyBase> provide = new PropertyValue<PropertyBase>(new Provide(),key + "provide");
    public PropertyValue<PropertyBase> keep = new PropertyValue<PropertyBase>(new Keep(),key + "keep");
    public PropertyValue<PropertyBase> call = new PropertyValue<PropertyBase>(new Call(),key + "call");
    public PropertyValue<PropertyBase> other = new PropertyValue<PropertyBase>(new Other(),key + "other");
    //方便管理
    //public List<PropertyValue<PropertyBase>> propertyList;

    public CardTrick(){
        //方便管理
        propertyList.Add(need);
        propertyList.Add(distance);
        propertyList.Add(target);
        propertyList.Add(cause);
        propertyList.Add(provide);
        propertyList.Add(keep);
        propertyList.Add(call);
        propertyList.Add(other);
    }
}

